package com.rc.saas.mini.mapper.invoice;

import com.rc.saas.mini.common.base.BaseMapper;
import com.rc.saas.mini.model.invoice.InvoiceAddress;
import com.rc.saas.mini.model.invoice.InvoiceAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InvoiceAddressMapper extends BaseMapper<Long, InvoiceAddress, InvoiceAddressExample> {
    List<InvoiceAddress> listInvoiceAddressByMemberId(@Param("memberId") Long memberId);

    List<InvoiceAddress> listByCondition(InvoiceAddress invoiceAddress);


    void updateNotDefault(@Param("memberId") Long memberId);
}